package action.validate;

import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionSupport;

/**
 * @author dingyuanwei
 * @version 建立時間：Dec 27, 20102:44:06 PM
 * 類別說明:
 */
public class ValidateXxx extends ActionSupport {

	public String add() throws Exception {
		System.out.println("add()有执行");
		return Action.SUCCESS;
	}
	
	public void validateAdd() {
		System.out.println("validateAdd()有执行");
		
	}
	

	@Override
	public String execute() throws Exception {
		System.out.println("execute()有执行");
		return Action.SUCCESS;
	}

	@Override
	public void validate() {
		System.out.println("validate()有执行");
		
	}

	
}
